<script setup lang="ts">
import { useMessage } from 'naive-ui'
import { watchError } from '../utils/Request'

const message = useMessage()

watchError((error: Error) => {
    message.error(error.message)
})
</script>
<template></template>
